<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
    <meta name="generator" content="Jekyll v4.0.1">
    <title>登录</title>
    <link rel="canonical" href="https://getbootstrap.com/docs/4.5/examples/sign-in/">
    <!-- Bootstrap core CSS -->
    <link href="/layui/css/bootstrap.css" rel="stylesheet">
    <style>
        .bd-placeholder-img {
            font-size: 1.125rem;
            text-anchor: middle;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        @media (min-width: 768px) {
            .bd-placeholder-img-lg {
                font-size: 3.5rem;
            }
        }
    </style>
    <!-- Custom styles for this template -->
    <link href="/layui/css/signin.css" rel="stylesheet">
    <script src="/js/login.js"></script>
    <script src="/layui/js/jquery-3.5.1.js"></script>
</head>
<body class="text-center">
<form class="form-signin">
    <img class="mb-4" src="/layui/brand/bootstrap-solid.svg" alt="" width="72" height="72">
    <h1 class="h3 mb-3 font-weight-normal">请登录</h1>
    <label for="inputEmail" class="sr-only">邮箱</label>
    <input type="email" id="inputEmail" class="form-control" placeholder="邮箱" required autofocus>
    <label for="inputPassword" class="sr-only">密码</label>
    <input type="password" id="inputPassword" class="form-control" placeholder="密码" required>
    <label for="code" class="sr-only">验证码</label>
    <input type="text" id="code" class="form-control" placeholder="请输入验证码" required autofocus autocomplete="off">
    <img src="/getcode"  class="img-thumbnail" onclick="changeimg()" id="img"><span class="border">点击图片刷新</span>
    <div class="checkbox mb-3">
        <label id="lab">
            <a href="/toregister" class="text-decoration-none">没有账号?</a>
        </label>
    </div>
    <button type="button" class="btn btn-primary" onclick="login()" style="height: 46px;width: 300px">登录</button>
    <p class="mt-5 mb-3 text-muted">&copy; 2020</p>
</form>
</body>
</html>
